/**
 * 注解用于向类中添加类名元数据.
 * 向AbsWindow 中增加_name 属性,并初始化其值.
 * @param {string} name
 * @param path
 * @returns {(target: Function) => any}
 * @constructor
 */
export function WindowName(name?: string, path?: string) {
    return function (target: Function) {
        target.prototype.winName = name;
        target.prototype.path = path;
    };
}
